﻿<ol></ol><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>实名认证</title>
<link type="text/css" rel="stylesheet" href="__PUBLIC__/css/rz.css">
<!--[if IE]>
<script src="../快马—手机端/jq/jquery.js"></script>
<![endif]-->
</head>
<body>
 <header>
   <div class="ym">
   <div class="sf"><img src="__PUBLIC__/images/logo.png">
   <div class="sf1">&nbsp;&nbsp;身份认证</div></div>
   <div class="wd">我的认证</div>
   </div> 
   </header>
    <form action="__CONTROLLER__/upload/action/up" enctype="multipart/form-data" method="post" >
 <div class="nr">
   <div class="wz1">&nbsp;&nbsp;身份认证资料</div>
     <div class="zb">
   <div class="wz2">请按照提示填写真实资料</div>
      <div style=" float:left; margin-left:-25%;">
    <div class="wz3"><span>*</span>身份证正面</div>
      <br>
	<img id="viewImg" src="" style="width:300px; height:200px;"/>
  <div><input id="viewFiles" type="file" name='photo[]'/></div>
  </div>
   <div class="k2">
    <div class="wz3"><span>*</span>身份证背面</div>
      <br>
	<img id="vImg" src="" style="width:300px; height:200px;"/>
  <div><input id="vFiles" type="file" name='photo[]'/></div>
     </div>
     <div style=" float:left; margin-left:-25%;">
      <div class="wz3"><span>*</span>营业执照</div>
    <br>
	<img id="vmg" src="" style="width:300px; height:200px;"/>
  <div><input id="viles" type="file" name='photo[]'/></div>
    </div>
    <div class="k2">
      <div class="wz3"><span>*</span>资格认证</div>
      <br>
	<img id="vg" src="" style="width:300px; height:200px;"/>
  <div><input id="vles" type="file" name='photo[]'/></div>
    </div>
  
   </div>
   <br><br>
    <div class="tjk">
    <input type="submit" class="tj" value="提&nbsp;&nbsp;交"></div>
       </div>
	     </form>
<script type="text/javascript">

(function () {
    var viewFiles = document.getElementById("viewFiles");
    var viewImg = document.getElementById("viewImg");
    function viewFile (file) {
        //通过file.size可以取得图片大小
        var reader = new FileReader();
        reader.onload = function( evt ){
            viewImg.src = evt.target.result;
        }
        reader.readAsDataURL(file);
    }
    viewFiles.addEventListener("change", function () {
        //通过 this.files 取到 FileList ，这里只有一个
        viewFile(this.files[0]);
    }, false);
})();

(function () {
    var vFiles = document.getElementById("vFiles");
    var vImg = document.getElementById("vImg");
    function vFile (file) {
        //通过file.size可以取得图片大小
        var reader = new FileReader();
        reader.onload = function( evt ){
            vImg.src = evt.target.result;
        }
        reader.readAsDataURL(file);
    }
    vFiles.addEventListener("change", function () {
        //通过 this.files 取到 FileList ，这里只有一个
        vFile(this.files[0]);
    }, false);
})();

(function () {
    var viles = document.getElementById("viles");
    var vmg = document.getElementById("vmg");
    function vile (file) {
        //通过file.size可以取得图片大小
        var reader = new FileReader();
        reader.onload = function( evt ){
            vmg.src = evt.target.result;
        }
        reader.readAsDataURL(file);
    }
    viles.addEventListener("change", function () {
        //通过 this.files 取到 FileList ，这里只有一个
        vile(this.files[0]);
    }, false);
})();

(function () {
    var vles = document.getElementById("vles");
    var vg = document.getElementById("vg");
    function vle (file) {
        //通过file.size可以取得图片大小
        var reader = new FileReader();
        reader.onload = function( evt ){
            vg.src = evt.target.result;
        }
        reader.readAsDataURL(file);
    }
    vles.addEventListener("change", function () {
        //通过 this.files 取到 FileList ，这里只有一个
        vle(this.files[0]);
    }, false);
})();

(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video".split(','),i=e.length;while(i--){document.createElement(e[i])}})()
</script>
  
  
  
  
  
  
  
  
  
  
  
</body>
</html>
